@echo off
setlocal

@rem Perform the build
call build.bat

@echo off
if errorlevel 1 goto BuildErrorFound

@rem Create screensaver
call makescr.bat

@echo off

if errorlevel 1 goto BuildErrorFound

goto Exit

:BuildErrorFound

:Exit
pause
echo on